<template>
    <div>
        <el-select :value-key="'id'" v-bind="$attrs">
            <el-option v-for="item in options" :key="item.id" :label="item.roleName"
                :value="item"  />
        </el-select>
    </div>
</template>
<script setup>
import { getrole } from '@/api/manage/projectManagementes/supervise/intex';
const options = ref([])
getrole().then(res => {
   
    options.value = res.result
})

</script>
<style lang="scss" scoped></style>